import App from '../App'
import useMyReducer from '../store'
import { createContext } from 'react'
const Context = createContext();
const Provider = ()=>{
    const [state,dispatch] = useMyReducer()
    return (
        <Context.Provider value={[state,dispatch]}>
            <App/>
        </Context.Provider>
    )
}
export {Provider,Context}